package ace.module.account.oauth2.api;

import ace.module.account.oauth2.api.model.input.IamOauth2CallbackAuthenticationInput;
import ace.module.oauth2.server.api.model.dto.ext.Oauth2AceAuthResultDto;
import jakarta.validation.Valid;
import jakarta.validation.constraints.NotNull;

/**
 * @author Caspar oauth2 回调协议 账户认证API
 */
public interface IamOauth2CallbackAuthenticationApi {

  Oauth2AceAuthResultDto authentication(@Valid @NotNull IamOauth2CallbackAuthenticationInput input);
}
